﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="EmpSalaryAdjustList.aspx.cs" Inherits="EmployeesSalary_EmpSalaryAdjustList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="Server">
    <style>
        textarea
        {
            width: 100px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <infolight:webdatasource id="Master" runat="server" autoapply="True" webdatasetid="WMaster"
        datamember="EmpSalaryAdjust">
    </infolight:webdatasource>
    <infolight:webgridview id="wgvMaster" runat="server" cellpadding="5" datasourceid="Master"
        forecolor="#333333" width="100%" aborticonurl="../Image/UIPics/Abort.gif" addiconurl="../Image/UIPics/Add.gif"
        applyiconurl="../Image/UIPics/Apply.gif" canceliconurl="../Image/UIPics/Cancel.gif"
        mouseoveraborticonurl="../Image/UIPics/Abort2.gif" mouseoveraddiconurl="../Image/UIPics/Add2.gif"
        mouseoverapplyiconurl="../Image/UIPics/Apply2.gif" mouseovercanceliconurl="../Image/UIPics/Cancel2.gif"
        mouseoverokiconurl="../Image/UIPics/OK2.gif" mouseoverqueryiconurl="../Image/UIPics/Query2.gif"
        okiconurl="../Image/UIPics/OK.gif" 
        queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False"
        backcolor="White" bordercolor="White" borderstyle="Groove" borderwidth="2px"
        onrowdatabound="wgvMaster_RowDataBound" PageSize="15">
        <pagersettings mode="NumericFirstLast" />
        <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
        <navcontrols>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" 
                    ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" 
                    ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="False" Size="25" 
                    MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" 
                    ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
        <columns>
           <asp:TemplateField HeaderText="状态">                    
                     <HeaderStyle Wrap="False" />
                    <itemstyle horizontalalign="Center" />
                    <itemtemplate>
                      <asp:Label ID="lblStatus" runat="server" Text='<%# Bind("AdjustStatus") %>' ></asp:Label>
                   </itemtemplate>
                </asp:TemplateField>
                
                <asp:BoundField DataField="EmpSalaryAdjustId" HeaderText="编号" 
                    SortExpression="EmpSalaryAdjustId" />
<asp:TemplateField HeaderText="员工" SortExpression="EmployeeId"><EditItemTemplate>
    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("EmployeeId") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
    <InfoLight:WebDropDownList ID="WebDropDownList1" runat="server" 
        AutoInsertEmptyData="False" DataSourceID="wdsEmpName" DataTextField="EmpName" 
        DataValueField="EmployeeID" DriverObject="" Filter="" FilterObject="" 
        onlyshowselecttext="True" SelectedValue='<%# Bind("EmployeeId") %>'>
    </InfoLight:WebDropDownList>
</ItemTemplate>
</asp:TemplateField>
                <asp:TemplateField HeaderText="调整时间" SortExpression="AjustTime">
                    <EditItemTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtEmpSalaryAdjustAjustTimeE" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" Text='<%# Bind("AjustTime") %>' ToolTip="AjustTime" 
                            UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </EditItemTemplate>
                    <FooterTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtEmpSalaryAdjustAjustTimeF" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" ToolTip="AjustTime" UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </FooterTemplate>
                    <ItemTemplate>
                    
                        <asp:Label ID="lEmpSalaryAdjustAjustTime" runat="server" 
                            Text='<%# Bind("AjustTime", "{0:d}") %>' ToolTip="AjustTime"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="JBGZ" HeaderText="基本工资" 
                    SortExpression="JBGZ" DataFormatString="{0:c}" />
<asp:TemplateField HeaderText="基本工资调整原因" SortExpression="JBGZ_Remark"><EditItemTemplate>
                        <asp:Label ID="TextBox12" runat="server" Text='<%# Bind("JBGZ_Remark") %>'></asp:Label>
                    
</EditItemTemplate>
    <ItemTemplate>
        <asp:Label ID="TextBox22" runat="server" Text='<%# Bind("JBGZ_Remark") %>'>
            </asp:Label>
    </ItemTemplate>
</asp:TemplateField>
                <asp:BoundField DataField="JXJJ" HeaderText="绩效奖金" SortExpression="JXJJ" 
                    DataFormatString="{0:c}" />
<asp:TemplateField HeaderText="绩效奖金调整原因" SortExpression="JXJJ_Remark"><EditItemTemplate>
                        <asp:Label ID="TextBox3" runat="server" Text='<%# Bind("JXJJ_Remark") %>'></asp:Label>
                    
</EditItemTemplate>
<ItemTemplate>
                        <asp:Label ID="TextBox52" runat="server" Text='<%# Bind("JXJJ_Remark") %>' 
                           ></asp:Label>
                    
</ItemTemplate>
</asp:TemplateField>
 <asp:BoundField DataField="GWJT" HeaderText="岗位津贴" 
                    SortExpression="GWJT" DataFormatString="{0:c}" />
                     <asp:BoundField DataField="GLBT" HeaderText="各类补贴" 
                    SortExpression="GLBT DataFormatString="{0:c}" />
                    
                <asp:TemplateField HeaderText="其他" SortExpression="Other">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("Other") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="TextBox32" runat="server" Text='<%# Bind("Other") %>' 
                             ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="备注" SortExpression="Remark">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("Remark") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="TextBox42" runat="server" Text='<%# Bind("Remark") %>' 
                       ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
             
                
                <asp:TemplateField HeaderText="操作人" SortExpression="EditEmpId">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("EditEmpId") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <InfoLight:WebDropDownList ID="WebDropDownList2" runat="server" 
                            AutoInsertEmptyData="False" DataSourceID="wdsEmpName" DataTextField="EmpName" 
                            DataValueField="EmployeeID" DriverObject="" Filter="" FilterObject="" 
                            onlyshowselecttext="True" SelectedValue='<%# Bind("EditEmpId") %>'>
                        </InfoLight:WebDropDownList>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="操作时间" SortExpression="EditTime">
                    <EditItemTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtEmpSalaryAdjustEditTimeE" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" Text='<%# Bind("EditTime") %>' ToolTip="EditTime" 
                            UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </EditItemTemplate>
                    <FooterTemplate>
                        <InfoLight:WebDateTimePicker ID="wdtEmpSalaryAdjustEditTimeF" runat="server" 
                            DateFormat="None" DateTimeType="DateTime" Localize="False" MaxYear="2050" 
                            MinYear="1950" ToolTip="EditTime" UseButtonImage="True" Width="100px"></InfoLight:WebDateTimePicker>
                    </FooterTemplate>
                    <ItemTemplate>
                        <asp:Label ID="lEmpSalaryAdjustEditTime" runat="server" 
                            Text='<%# Bind("EditTime", "{0:d}") %>' ToolTip="EditTime"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
</columns>
        <rowstyle backcolor="#EFF3FB"></rowstyle>
        <editrowstyle backcolor="#2461BF"></editrowstyle>
        <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
        <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
        <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
    </infolight:webgridview>
    <br />
    <br />
    <div style="text-align: center">
        <span class="roundbtn" runat="server">
            <asp:LinkButton ID="lbt" runat="server" Text=" 返 回 " OnClick="lbt_Click"></asp:LinkButton>
        </span>
    </div>
    <infolight:webdatasource runat="server" id="wdsEmpName" selectalias="Usasdb" selectcommand="select Employees.EmployeeID,Employees.EmpName from Employees">
    </infolight:webdatasource>
</asp:Content>
